<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetFrameworkCurrent)</TargetFrameworks>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="MofHelpers\MofCollection.cs" />
    <Compile Include="MofHelpers\MofFixture.cs" />
    <Compile Include="System\Management\ManagementClassTestsMofRequired.cs" />
    <Compile Include="System\Management\ManagementClassTests.cs" />
    <Compile Include="System\Management\ManagementDateTimeConverterTests.cs" />
    <Compile Include="System\Management\ManagementEventWatcherTests.cs" />
    <Compile Include="System\Management\ManagementObjectSearcherTests.cs" />
    <Compile Include="System\Management\ManagementObjectSearcherTestsMofRequired.cs" />
    <Compile Include="System\Management\ManagementObjectTests.cs" />
    <Compile Include="System\Management\SelectQueryTests.cs" />
    <Compile Include="WmiTestHelper.cs" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Resources\WmiEBvt.mof">
      <LogicalName>WmiEBvt.mof</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="Resources\CleanUp.mof">
      <LogicalName>CleanUp.mof</LogicalName>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
    <ProjectReference Include="..\src\System.Management.csproj" />
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <Reference Include="System.Management" />
  </ItemGroup>
</Project>